import request from '@/common/request.js'

//搜索
const search = (data) => {
	return request({
		url: "/search",
		method: "GET",
		data
	})
}

//热搜列表(详细)
const detail = (data) => {
	return request({
		url: "/search/hot/detail",
		method: "GET",
		data
	})
}

//歌单收藏者
const subscribers = (data) => {
	return request({
		url: "/playlist/subscribers",
		method: "GET",
		data
	})
}

export {
	search,
	detail,
	subscribers
}